<include file="Public/header"/> 
            <section class="content">
        <form class="form" method="post" action="__APP__/Home/News/add">
            <div class="box box-primary">
                <div class="box-header with-border">
                    <h3 class="box-title">联系我们</h3>
                </div>
                <div class="box-body">
                     <div class="form-group">
                        <label>标题</label>
                        <input type="text" name="title" class="form-control" required value="">
                    </div>
                    <div class="form-group">
                        <label>内容</label>
                        
                        <script id="editor" type="text/plain" name="content" style="min-height:500px; width: 100%">{$list.content}</script>
                    </div>
                </div>
                <div class="box-footer">
                    <button type="submit" class="btn btn-primary">保存</button>
                    <button type="submit" onclick="history.back()" class="btn btn-default pull-right">返回</button>
                </div>
            </div>
        </form>
    </section>
        <script type="text/javascript" src="__PUBLIC__/lib/UEditor/ueditor.config.js"></script>
        <!-- 编辑器源码文件 -->
        <script type="text/javascript" src="__PUBLIC__/lib/UEditor/ueditor.all.js"></script>
<script type="text/javascript">
    var ue = UE.getEditor('editor');
</script>

      </div><!-- /.content-wrapper -->
        <footer class="main-footer">
            <strong>Copyright &copy; 2016 佳禾.</strong> All rights reserved.
        </footer>

      <!-- Add the sidebar's background. This div must be placed
           immediately after the control sidebar -->
      <div class="control-sidebar-bg"></div>
    </div><!-- ./wrapper -->
    <!--提示-->
<style>
    .layout_container {
        width: 100%;
        position: fixed;
        top: 50px;
        text-align: center;
        transform: translate(0,-50px);
        z-index: 20000;
    }

    .pop_container {
        display: inline-block;
        padding: 10px 40px;
        background: #ff0000;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
        transform: translate(0,0);
        -moz-box-shadow:0px 0px 13px #333333;
        -webkit-box-shadow:0px 0px 13px #333333;
        box-shadow:0px 0px 13px #333333;
    }

    .pop_container p {
        padding: 0;
        margin: 0;
        color: #fff;
        font-weight: 600;
    }
</style>



<script>
    setTimeout(function(){
       // $('.layout_container').css('transition','all 2s');
       // $('.layout_container').css('transform','translate(0,-50px)');
        $('.layout_container').fadeOut(1000);
    },2000);

    /*
    function toHidden()
    {
        setTimeout(function(){
            $('.layout_container').css('transition','all 2s');
            $('.layout_container').css('transform','translate(0,-50px)');
        },2000);
    }*/
</script>    <!-- jQuery UI 1.11.4 -->
    <script src="__PUBLIC__/lib/js/jquery-ui.min.js"></script>
    <!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
    <script>
      $.widget.bridge('uibutton', $.ui.button);
    </script>
    <!-- Bootstrap 3.3.5 -->
    <script src="__PUBLIC__/lib/js/bootstrap.min.js"></script>
    <!-- Morris.js charts -->
    <script src="__PUBLIC__/lib/js/raphael-min.js"></script>
        <!-- Sparkline -->
    <script src="__PUBLIC__/lib/js/jquery.sparkline.min.js"></script>
    <!-- jvectormap -->
    <script src="__PUBLIC__/lib/js/jquery-jvectormap-1.2.2.min.js"></script>
    <script src="__PUBLIC__/lib/js/jquery-jvectormap-world-mill-en.js"></script>
    <!-- jQuery Knob Chart -->
    <script src="__PUBLIC__/lib/js/jquery.knob.js"></script>
    <!-- daterangepicker -->
    <script src="__PUBLIC__/lib/js/moment.min.js"></script>
    <script src="__PUBLIC__/lib/js/daterangepicker.js"></script>
    <!-- datepicker -->
    <script src="__PUBLIC__/lib/js/bootstrap-datepicker.js"></script>
    <!-- Bootstrap WYSIHTML5 -->
    <script src="__PUBLIC__/lib/js/bootstrap3-wysihtml5.all.min.js"></script>
    <!-- Slimscroll -->
    <script src="__PUBLIC__/lib/js/jquery.slimscroll.min.js"></script>
    <!-- FastClick -->
    <script src="__PUBLIC__/lib/js/fastclick.min.js"></script>
    <!-- AdminLTE App -->
    <script src="__PUBLIC__/lib/js/app.min.js"></script>
    <!-- AdminLTE dashboard demo (This is only for demo purposes) -->
    <script src="__PUBLIC__/lib/js/dashboard.js"></script>
    <!-- AdminLTE for demo purposes -->
    <script src="__PUBLIC__/lib/js/demo.js"></script>
  </body>
</html>
